<?

$check_me_authed = "NO_OK";	

if(($jid = $_POST["radioview"]) || ($jid = $_POST["job_id_posted"]) ){
	
	$Db = new oracleDb;
  $Db->init($_SESSION["ORCLU"], 
             $_SESSION["OPASS"],
             $_SESSION["SID"],
             _NO_COMMENT);
  
	if ($Db->connect()) {
		
		$_SESSION["jid"]  = $_POST["radioview"];
    $levelMn          = &$_SESSION["jid"];
		
  	$srcDbHdr = "USER_ACCESS";
    $srcDbDtl = "USER_ACCESS";
		
		$_SESSION["jid"]  = $_POST["radioview"];
		$jobId            = &$_SESSION["jid"];
			
		$CLFetchers->fetchDataDetail($Db,
		                             $levelMn,
		                             $srcDbDtl,
		                             $nDtl,
		                             $resDtl);
		
    $_POST["levelMnEnt"][0] = $resDtl["LEVELMN"][0];
    $_POST["descpEnt"][0]   = $resDtl["TRANSACTION"][0];
    $_POST["progEnt"][0]    = $resDtl["PROGRAMS"][0];
    $_POST["statusEnt"][0]  = $resDtl["STATUS"][0];
    
		$_SESSION["init_num"]    = 1;                            
  	$_SESSION["modify_mode"] = "Y";
    require("entry_restore_me.php");
  	
	}else{
	  
	  $Misc->usrDieJs(_DB_CONN_ERROR);
	}
}else{
	
	$Misc->usrDieJs("Error:Cant retrieved job_id");
}

?> 